#!/usr/bin/env python

"""
*****************************************************************
modulename.py
This file is part of s60console project.

Released under GNU GPLv2.
See accompanying gpl-2.0.txt file
or visit http://www.gnu.org/licenses/gpl-2.0.txt

Author: Kashif Iftikhar (kashif [at] compulife.com.pk)

Description:
------------
Module description

*****************************************************************
"""

def _tests():
    "Test cases for the module"
    "Test cases for the module"
    import sput
    
    T = sput.tester()
    
    #def _test_parse_command():
    #    "Unit tests for the parse_command function"
    #    cmd = "sendsms +92343545454 This is just a simple msg"
    #    valid_r = {'message': ' This is just a simple msg', 'cmd': 'SENDSMS', 'contact': '+92343545454'}
    #    T.add_test("****** prase_command test. single line message command: %s" % cmd, parse_command, valid_r, cmd)
    #
    #
    #_test_parse_command()
    
    T.run_all_tests()

if __name__ == '__main__':
    import sys
    if len(sys.argv)>1 and 'run_tests'==sys.argv[1]:
        _tests()
    